package com.genius.smsservice.admin.service.impl;

import com.genius.smsbase.Service.GenericManager;
import com.genius.smsbase.Service.impl.GenericManagerImpl;
import com.genius.smsdao.admin.dao.RoleDao;
import com.genius.smsdao.admin.dao.UserDao;
import com.genius.smsdao.admin.domain.Role;
import com.genius.smsservice.admin.service.RoleManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName RoleManagerImpl
 * @Description RoleManager实现类
 * @author：
 */
@Component
public class RoleManagerImpl extends GenericManagerImpl<Role,Long> implements RoleManager {
    RoleDao roleDao;

    @Autowired
    public void setRoleDao(RoleDao roleDao){

        this.roleDao = roleDao;
        this.dao = this.roleDao;
    }
}
